import javax.print.DocFlavor;
import java.util.*;

interface ppa{
    public static final  int a =10;
    static final  int b = 20;
    public final  int c =10;

    default  void fun(){
        System.out.println(111);
    }


}
class Student<T>{
    public Integer num;
    public String name;

    public Student(T num,T name){
        this.num= (Integer) num;
        this.name = (String) name;
    }
    public Student(){
        System.out.println("1111");
    }

    public static void fun8(){
        System.out.println("111");
    }
    public void fun9(){
    }
}

class Person extends  Student  implements Cloneable
{
    public int a;
    public Person(){

     this(1);
        System.out.println("进入");
    }
  public Person(int a){
      System.out.println("子类的");
  }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
public class Test2 {
    public static void main(String[] args) throws CloneNotSupportedException {
        int a= 10;
        HashMap<String,Integer> hashmap = new HashMap<>();
       hashmap.put("1,",1);
Person person = new Person();

        TreeSet<Integer> treeSet = new TreeSet<>();
        treeSet.add(6);
        treeSet.add(3);
        treeSet.add(5);
        treeSet.add(1);
        treeSet.add(9);

        HashSet<Integer> hashSet = new HashSet<>();
        hashSet.add(null);
        hashSet.add(10);
        Iterator<Integer> iterator =  treeSet.iterator();
        while(iterator.hasNext()){
            System.out.print(iterator.next()+" ");
        }

        Person person1  =new Person();
        Person person2 = (Person) person1.clone();
    }

}
